<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>SDL_gfx: I:/Sources/sdlgfx/SDL_gfxPrimitives.h File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">SDL_gfx
   &#160;<span id="projectnumber">2.0.25</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.8.0 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#define-members">Defines</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">I:/Sources/sdlgfx/SDL_gfxPrimitives.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;math.h&gt;</code><br/>
<code>#include &quot;SDL.h&quot;</code><br/>
</div>
<p><a href="_s_d_l__gfx_primitives_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr class="memitem:ae71449b1cc6e6250b91f539153a7a0d3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#ae71449b1cc6e6250b91f539153a7a0d3">M_PI</a>&#160;&#160;&#160;3.1415926535897932384626433832795</td></tr>
<tr class="memitem:a2a585f5832061010155d87737ef5bf88"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a2a585f5832061010155d87737ef5bf88">SDL_GFXPRIMITIVES_MAJOR</a>&#160;&#160;&#160;2</td></tr>
<tr class="memitem:abd0939b1856bbb822b37b68755dc9ee5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#abd0939b1856bbb822b37b68755dc9ee5">SDL_GFXPRIMITIVES_MINOR</a>&#160;&#160;&#160;0</td></tr>
<tr class="memitem:a06ea681a295987b8b8ec3fcdb04713df"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a06ea681a295987b8b8ec3fcdb04713df">SDL_GFXPRIMITIVES_MICRO</a>&#160;&#160;&#160;25</td></tr>
<tr class="memitem:a9501419cbbd2b8739ec5dc4e890c165b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a>&#160;&#160;&#160;extern</td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a7fe611dbb029ae70be89d5314c7e023b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a7fe611dbb029ae70be89d5314c7e023b">pixelColor</a> (SDL_Surface *dst, Sint16 x, Sint16 y, Uint32 color)</td></tr>
<tr class="memdesc:a7fe611dbb029ae70be89d5314c7e023b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pixel draw with blending enabled if a&lt;255.  <a href="#a7fe611dbb029ae70be89d5314c7e023b"></a><br/></td></tr>
<tr class="memitem:a0046efc721e77b745fd5b621fbd48513"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a0046efc721e77b745fd5b621fbd48513">pixelRGBA</a> (SDL_Surface *dst, Sint16 x, Sint16 y, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:a0046efc721e77b745fd5b621fbd48513"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pixel draw with blending enabled if a&lt;255.  <a href="#a0046efc721e77b745fd5b621fbd48513"></a><br/></td></tr>
<tr class="memitem:a31ac87bf32186325deedf5188b987ef6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a31ac87bf32186325deedf5188b987ef6">hlineColor</a> (SDL_Surface *dst, Sint16 x1, Sint16 x2, Sint16 y, Uint32 color)</td></tr>
<tr class="memdesc:a31ac87bf32186325deedf5188b987ef6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw horizontal line with blending.  <a href="#a31ac87bf32186325deedf5188b987ef6"></a><br/></td></tr>
<tr class="memitem:ae48e69e0f5d13ea79ffac262b146ae9e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#ae48e69e0f5d13ea79ffac262b146ae9e">hlineRGBA</a> (SDL_Surface *dst, Sint16 x1, Sint16 x2, Sint16 y, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:ae48e69e0f5d13ea79ffac262b146ae9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw horizontal line with blending.  <a href="#ae48e69e0f5d13ea79ffac262b146ae9e"></a><br/></td></tr>
<tr class="memitem:ab68d565f00527a67c9d88121c753302c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#ab68d565f00527a67c9d88121c753302c">vlineColor</a> (SDL_Surface *dst, Sint16 x, Sint16 y1, Sint16 y2, Uint32 color)</td></tr>
<tr class="memdesc:ab68d565f00527a67c9d88121c753302c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw vertical line with blending.  <a href="#ab68d565f00527a67c9d88121c753302c"></a><br/></td></tr>
<tr class="memitem:a68ed9a65e3e0de26136566b0cf0c859e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a68ed9a65e3e0de26136566b0cf0c859e">vlineRGBA</a> (SDL_Surface *dst, Sint16 x, Sint16 y1, Sint16 y2, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:a68ed9a65e3e0de26136566b0cf0c859e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw vertical line with blending.  <a href="#a68ed9a65e3e0de26136566b0cf0c859e"></a><br/></td></tr>
<tr class="memitem:a36453f52608a10f3d6b8edccae260b95"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a36453f52608a10f3d6b8edccae260b95">rectangleColor</a> (SDL_Surface *dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Uint32 color)</td></tr>
<tr class="memdesc:a36453f52608a10f3d6b8edccae260b95"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw rectangle with blending.  <a href="#a36453f52608a10f3d6b8edccae260b95"></a><br/></td></tr>
<tr class="memitem:a6c41cbfd0618262de4d4d127ed1e67fe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a6c41cbfd0618262de4d4d127ed1e67fe">rectangleRGBA</a> (SDL_Surface *dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:a6c41cbfd0618262de4d4d127ed1e67fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw rectangle with blending.  <a href="#a6c41cbfd0618262de4d4d127ed1e67fe"></a><br/></td></tr>
<tr class="memitem:a4109d2d1efa021c021fc4a98a0e3691b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a4109d2d1efa021c021fc4a98a0e3691b">roundedRectangleColor</a> (SDL_Surface *dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Sint16 rad, Uint32 color)</td></tr>
<tr class="memdesc:a4109d2d1efa021c021fc4a98a0e3691b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw rounded-corner rectangle with blending.  <a href="#a4109d2d1efa021c021fc4a98a0e3691b"></a><br/></td></tr>
<tr class="memitem:a475432abc4756e6f30ef097d5cac02c9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a475432abc4756e6f30ef097d5cac02c9">roundedRectangleRGBA</a> (SDL_Surface *dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Sint16 rad, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:a475432abc4756e6f30ef097d5cac02c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw rounded-corner rectangle with blending.  <a href="#a475432abc4756e6f30ef097d5cac02c9"></a><br/></td></tr>
<tr class="memitem:a16693489da67d6e65a28f9e5217b46f9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a16693489da67d6e65a28f9e5217b46f9">boxColor</a> (SDL_Surface *dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Uint32 color)</td></tr>
<tr class="memdesc:a16693489da67d6e65a28f9e5217b46f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw box (filled rectangle) with blending.  <a href="#a16693489da67d6e65a28f9e5217b46f9"></a><br/></td></tr>
<tr class="memitem:a0ae084c90bd9b734356ad723d45973c8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a0ae084c90bd9b734356ad723d45973c8">boxRGBA</a> (SDL_Surface *dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:a0ae084c90bd9b734356ad723d45973c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw box (filled rectangle) with blending.  <a href="#a0ae084c90bd9b734356ad723d45973c8"></a><br/></td></tr>
<tr class="memitem:a9f9be6e605e764fd23dd154fb12b80e9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9f9be6e605e764fd23dd154fb12b80e9">roundedBoxColor</a> (SDL_Surface *dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Sint16 rad, Uint32 color)</td></tr>
<tr class="memdesc:a9f9be6e605e764fd23dd154fb12b80e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw rounded-corner box (filled rectangle) with blending.  <a href="#a9f9be6e605e764fd23dd154fb12b80e9"></a><br/></td></tr>
<tr class="memitem:a7105b88e62fe42b26602d3b426547bc7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a7105b88e62fe42b26602d3b426547bc7">roundedBoxRGBA</a> (SDL_Surface *dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Sint16 rad, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:a7105b88e62fe42b26602d3b426547bc7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw rounded-corner box (filled rectangle) with blending.  <a href="#a7105b88e62fe42b26602d3b426547bc7"></a><br/></td></tr>
<tr class="memitem:a6f37058aed308619de8109ebe84b5fe9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a6f37058aed308619de8109ebe84b5fe9">lineColor</a> (SDL_Surface *dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Uint32 color)</td></tr>
<tr class="memdesc:a6f37058aed308619de8109ebe84b5fe9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw line with alpha blending.  <a href="#a6f37058aed308619de8109ebe84b5fe9"></a><br/></td></tr>
<tr class="memitem:a5e4bd13b12d34698fbcb2dc9d3a0e9f3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a5e4bd13b12d34698fbcb2dc9d3a0e9f3">lineRGBA</a> (SDL_Surface *dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:a5e4bd13b12d34698fbcb2dc9d3a0e9f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw line with alpha blending.  <a href="#a5e4bd13b12d34698fbcb2dc9d3a0e9f3"></a><br/></td></tr>
<tr class="memitem:a4711ada424cb411e328fcedbf28ca5bd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a4711ada424cb411e328fcedbf28ca5bd">aalineColor</a> (SDL_Surface *dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Uint32 color)</td></tr>
<tr class="memdesc:a4711ada424cb411e328fcedbf28ca5bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ddraw anti-aliased line with alpha blending.  <a href="#a4711ada424cb411e328fcedbf28ca5bd"></a><br/></td></tr>
<tr class="memitem:aaf65728167a6aa7b37010560507fb4a2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#aaf65728167a6aa7b37010560507fb4a2">aalineRGBA</a> (SDL_Surface *dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:aaf65728167a6aa7b37010560507fb4a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw anti-aliased line with alpha blending.  <a href="#aaf65728167a6aa7b37010560507fb4a2"></a><br/></td></tr>
<tr class="memitem:a40c34464b6c99fd72c4bd7acfac5915d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a40c34464b6c99fd72c4bd7acfac5915d">thickLineColor</a> (SDL_Surface *dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Uint8 width, Uint32 color)</td></tr>
<tr class="memdesc:a40c34464b6c99fd72c4bd7acfac5915d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw a thick line with alpha blending.  <a href="#a40c34464b6c99fd72c4bd7acfac5915d"></a><br/></td></tr>
<tr class="memitem:aa740c1eff9163862704eb3bb3b5964db"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#aa740c1eff9163862704eb3bb3b5964db">thickLineRGBA</a> (SDL_Surface *dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Uint8 width, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:aa740c1eff9163862704eb3bb3b5964db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw a thick line with alpha blending.  <a href="#aa740c1eff9163862704eb3bb3b5964db"></a><br/></td></tr>
<tr class="memitem:a58d231ecaf113f53c2a28435e0632624"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a58d231ecaf113f53c2a28435e0632624">circleColor</a> (SDL_Surface *dst, Sint16 x, Sint16 y, Sint16 rad, Uint32 color)</td></tr>
<tr class="memdesc:a58d231ecaf113f53c2a28435e0632624"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw circle with blending.  <a href="#a58d231ecaf113f53c2a28435e0632624"></a><br/></td></tr>
<tr class="memitem:a8e0945b74c02cdb1441e1b2a29d2c87d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a8e0945b74c02cdb1441e1b2a29d2c87d">circleRGBA</a> (SDL_Surface *dst, Sint16 x, Sint16 y, Sint16 rad, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:a8e0945b74c02cdb1441e1b2a29d2c87d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw circle with blending.  <a href="#a8e0945b74c02cdb1441e1b2a29d2c87d"></a><br/></td></tr>
<tr class="memitem:a6180558aff14d3c240d9e8bf919869ef"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a6180558aff14d3c240d9e8bf919869ef">arcColor</a> (SDL_Surface *dst, Sint16 x, Sint16 y, Sint16 rad, Sint16 start, Sint16 end, Uint32 color)</td></tr>
<tr class="memdesc:a6180558aff14d3c240d9e8bf919869ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Arc with blending.  <a href="#a6180558aff14d3c240d9e8bf919869ef"></a><br/></td></tr>
<tr class="memitem:a5d8d25ecb69e9386289125eb21668a2f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a5d8d25ecb69e9386289125eb21668a2f">arcRGBA</a> (SDL_Surface *dst, Sint16 x, Sint16 y, Sint16 rad, Sint16 start, Sint16 end, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:a5d8d25ecb69e9386289125eb21668a2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Arc with blending.  <a href="#a5d8d25ecb69e9386289125eb21668a2f"></a><br/></td></tr>
<tr class="memitem:aee66c744f9fbe58c9f93ad33375373c3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#aee66c744f9fbe58c9f93ad33375373c3">aacircleColor</a> (SDL_Surface *dst, Sint16 x, Sint16 y, Sint16 rad, Uint32 color)</td></tr>
<tr class="memdesc:aee66c744f9fbe58c9f93ad33375373c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw anti-aliased circle with blending.  <a href="#aee66c744f9fbe58c9f93ad33375373c3"></a><br/></td></tr>
<tr class="memitem:a613099498679e6280959cdfdcd59a143"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a613099498679e6280959cdfdcd59a143">aacircleRGBA</a> (SDL_Surface *dst, Sint16 x, Sint16 y, Sint16 rad, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:a613099498679e6280959cdfdcd59a143"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw anti-aliased circle with blending.  <a href="#a613099498679e6280959cdfdcd59a143"></a><br/></td></tr>
<tr class="memitem:a4f7b717b958ef39bfc8c958476dd0de1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a4f7b717b958ef39bfc8c958476dd0de1">filledCircleColor</a> (SDL_Surface *dst, Sint16 x, Sint16 y, Sint16 r, Uint32 color)</td></tr>
<tr class="memdesc:a4f7b717b958ef39bfc8c958476dd0de1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw filled circle with blending.  <a href="#a4f7b717b958ef39bfc8c958476dd0de1"></a><br/></td></tr>
<tr class="memitem:a01af970ce0be38cea9884bc6f816c984"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a01af970ce0be38cea9884bc6f816c984">filledCircleRGBA</a> (SDL_Surface *dst, Sint16 x, Sint16 y, Sint16 rad, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:a01af970ce0be38cea9884bc6f816c984"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw filled circle with blending.  <a href="#a01af970ce0be38cea9884bc6f816c984"></a><br/></td></tr>
<tr class="memitem:a8b46f389c626806e7a1ec148f0980737"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a8b46f389c626806e7a1ec148f0980737">ellipseColor</a> (SDL_Surface *dst, Sint16 x, Sint16 y, Sint16 rx, Sint16 ry, Uint32 color)</td></tr>
<tr class="memdesc:a8b46f389c626806e7a1ec148f0980737"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw ellipse with blending.  <a href="#a8b46f389c626806e7a1ec148f0980737"></a><br/></td></tr>
<tr class="memitem:a523156891302420d2296b1a302c1fc2b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a523156891302420d2296b1a302c1fc2b">ellipseRGBA</a> (SDL_Surface *dst, Sint16 x, Sint16 y, Sint16 rx, Sint16 ry, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:a523156891302420d2296b1a302c1fc2b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw ellipse with blending.  <a href="#a523156891302420d2296b1a302c1fc2b"></a><br/></td></tr>
<tr class="memitem:a6edf60c54acc964cbb47ddefc6c0d450"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a6edf60c54acc964cbb47ddefc6c0d450">aaellipseColor</a> (SDL_Surface *dst, Sint16 x, Sint16 y, Sint16 rx, Sint16 ry, Uint32 color)</td></tr>
<tr class="memdesc:a6edf60c54acc964cbb47ddefc6c0d450"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw anti-aliased ellipse with blending.  <a href="#a6edf60c54acc964cbb47ddefc6c0d450"></a><br/></td></tr>
<tr class="memitem:ab6db169d39ea972469e761f338153e21"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#ab6db169d39ea972469e761f338153e21">aaellipseRGBA</a> (SDL_Surface *dst, Sint16 x, Sint16 y, Sint16 rx, Sint16 ry, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:ab6db169d39ea972469e761f338153e21"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw anti-aliased ellipse with blending.  <a href="#ab6db169d39ea972469e761f338153e21"></a><br/></td></tr>
<tr class="memitem:a36e83e5648b95d38d1efe98dcf840fab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a36e83e5648b95d38d1efe98dcf840fab">filledEllipseColor</a> (SDL_Surface *dst, Sint16 x, Sint16 y, Sint16 rx, Sint16 ry, Uint32 color)</td></tr>
<tr class="memdesc:a36e83e5648b95d38d1efe98dcf840fab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw filled ellipse with blending.  <a href="#a36e83e5648b95d38d1efe98dcf840fab"></a><br/></td></tr>
<tr class="memitem:a26f01b9c0cf7a533023869dff439254f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a26f01b9c0cf7a533023869dff439254f">filledEllipseRGBA</a> (SDL_Surface *dst, Sint16 x, Sint16 y, Sint16 rx, Sint16 ry, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:a26f01b9c0cf7a533023869dff439254f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw filled ellipse with blending.  <a href="#a26f01b9c0cf7a533023869dff439254f"></a><br/></td></tr>
<tr class="memitem:a6476d5dad22631d10c1dc95b0e88fc65"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a6476d5dad22631d10c1dc95b0e88fc65">pieColor</a> (SDL_Surface *dst, Sint16 x, Sint16 y, Sint16 rad, Sint16 start, Sint16 end, Uint32 color)</td></tr>
<tr class="memdesc:a6476d5dad22631d10c1dc95b0e88fc65"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw pie (outline) with alpha blending.  <a href="#a6476d5dad22631d10c1dc95b0e88fc65"></a><br/></td></tr>
<tr class="memitem:a4a5e4344913667e714560dd204473663"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a4a5e4344913667e714560dd204473663">pieRGBA</a> (SDL_Surface *dst, Sint16 x, Sint16 y, Sint16 rad, Sint16 start, Sint16 end, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:a4a5e4344913667e714560dd204473663"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw pie (outline) with alpha blending.  <a href="#a4a5e4344913667e714560dd204473663"></a><br/></td></tr>
<tr class="memitem:a8f18679aa7161f885613ec08e7f41692"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a8f18679aa7161f885613ec08e7f41692">filledPieColor</a> (SDL_Surface *dst, Sint16 x, Sint16 y, Sint16 rad, Sint16 start, Sint16 end, Uint32 color)</td></tr>
<tr class="memdesc:a8f18679aa7161f885613ec08e7f41692"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw filled pie with alpha blending.  <a href="#a8f18679aa7161f885613ec08e7f41692"></a><br/></td></tr>
<tr class="memitem:a1944c066d27fa9847a5fdecd1d3b9116"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a1944c066d27fa9847a5fdecd1d3b9116">filledPieRGBA</a> (SDL_Surface *dst, Sint16 x, Sint16 y, Sint16 rad, Sint16 start, Sint16 end, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:a1944c066d27fa9847a5fdecd1d3b9116"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw filled pie with alpha blending.  <a href="#a1944c066d27fa9847a5fdecd1d3b9116"></a><br/></td></tr>
<tr class="memitem:aec2a0c435b879a29167be6b1c49f1e49"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#aec2a0c435b879a29167be6b1c49f1e49">trigonColor</a> (SDL_Surface *dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Sint16 x3, Sint16 y3, Uint32 color)</td></tr>
<tr class="memdesc:aec2a0c435b879a29167be6b1c49f1e49"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw trigon (triangle outline) with alpha blending.  <a href="#aec2a0c435b879a29167be6b1c49f1e49"></a><br/></td></tr>
<tr class="memitem:a090024f5f3e38b02b0bca704259b9d11"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a090024f5f3e38b02b0bca704259b9d11">trigonRGBA</a> (SDL_Surface *dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Sint16 x3, Sint16 y3, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:a090024f5f3e38b02b0bca704259b9d11"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw trigon (triangle outline) with alpha blending.  <a href="#a090024f5f3e38b02b0bca704259b9d11"></a><br/></td></tr>
<tr class="memitem:a330917705809bb5f7d74ef232dde5f12"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a330917705809bb5f7d74ef232dde5f12">aatrigonColor</a> (SDL_Surface *dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Sint16 x3, Sint16 y3, Uint32 color)</td></tr>
<tr class="memdesc:a330917705809bb5f7d74ef232dde5f12"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw anti-aliased trigon (triangle outline) with alpha blending.  <a href="#a330917705809bb5f7d74ef232dde5f12"></a><br/></td></tr>
<tr class="memitem:a5e88106c90fc2e0e25d0f7617459d4f9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a5e88106c90fc2e0e25d0f7617459d4f9">aatrigonRGBA</a> (SDL_Surface *dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Sint16 x3, Sint16 y3, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:a5e88106c90fc2e0e25d0f7617459d4f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw anti-aliased trigon (triangle outline) with alpha blending.  <a href="#a5e88106c90fc2e0e25d0f7617459d4f9"></a><br/></td></tr>
<tr class="memitem:a6adaf54b33bf067e4fe2cc5a7ae17ef6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a6adaf54b33bf067e4fe2cc5a7ae17ef6">filledTrigonColor</a> (SDL_Surface *dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Sint16 x3, Sint16 y3, Uint32 color)</td></tr>
<tr class="memdesc:a6adaf54b33bf067e4fe2cc5a7ae17ef6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw filled trigon (triangle) with alpha blending.  <a href="#a6adaf54b33bf067e4fe2cc5a7ae17ef6"></a><br/></td></tr>
<tr class="memitem:a4a3318a183659aab7c12c0334e261837"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a4a3318a183659aab7c12c0334e261837">filledTrigonRGBA</a> (SDL_Surface *dst, Sint16 x1, Sint16 y1, Sint16 x2, Sint16 y2, Sint16 x3, Sint16 y3, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:a4a3318a183659aab7c12c0334e261837"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw filled trigon (triangle) with alpha blending.  <a href="#a4a3318a183659aab7c12c0334e261837"></a><br/></td></tr>
<tr class="memitem:abe5d0b2f6193558798eaff3e85e7a1af"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#abe5d0b2f6193558798eaff3e85e7a1af">polygonColor</a> (SDL_Surface *dst, const Sint16 *vx, const Sint16 *vy, int n, Uint32 color)</td></tr>
<tr class="memdesc:abe5d0b2f6193558798eaff3e85e7a1af"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw polygon with alpha blending.  <a href="#abe5d0b2f6193558798eaff3e85e7a1af"></a><br/></td></tr>
<tr class="memitem:a46b327da5cba5d401cf400bdef7560d0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a46b327da5cba5d401cf400bdef7560d0">polygonRGBA</a> (SDL_Surface *dst, const Sint16 *vx, const Sint16 *vy, int n, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:a46b327da5cba5d401cf400bdef7560d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw polygon with alpha blending.  <a href="#a46b327da5cba5d401cf400bdef7560d0"></a><br/></td></tr>
<tr class="memitem:acee2be5e220639d3e5c5bc643e091c1c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#acee2be5e220639d3e5c5bc643e091c1c">aapolygonColor</a> (SDL_Surface *dst, const Sint16 *vx, const Sint16 *vy, int n, Uint32 color)</td></tr>
<tr class="memdesc:acee2be5e220639d3e5c5bc643e091c1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw anti-aliased polygon with alpha blending.  <a href="#acee2be5e220639d3e5c5bc643e091c1c"></a><br/></td></tr>
<tr class="memitem:aad73d6fc11bb01946d0ffe1c9d657cb1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#aad73d6fc11bb01946d0ffe1c9d657cb1">aapolygonRGBA</a> (SDL_Surface *dst, const Sint16 *vx, const Sint16 *vy, int n, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:aad73d6fc11bb01946d0ffe1c9d657cb1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw anti-aliased polygon with alpha blending.  <a href="#aad73d6fc11bb01946d0ffe1c9d657cb1"></a><br/></td></tr>
<tr class="memitem:a5e1fe45b835b623f6939ff0f08277531"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a5e1fe45b835b623f6939ff0f08277531">filledPolygonColor</a> (SDL_Surface *dst, const Sint16 *vx, const Sint16 *vy, int n, Uint32 color)</td></tr>
<tr class="memdesc:a5e1fe45b835b623f6939ff0f08277531"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw filled polygon with alpha blending.  <a href="#a5e1fe45b835b623f6939ff0f08277531"></a><br/></td></tr>
<tr class="memitem:a2b1023ddbbb25d57bd51676b49234af4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a2b1023ddbbb25d57bd51676b49234af4">filledPolygonRGBA</a> (SDL_Surface *dst, const Sint16 *vx, const Sint16 *vy, int n, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:a2b1023ddbbb25d57bd51676b49234af4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw filled polygon with alpha blending.  <a href="#a2b1023ddbbb25d57bd51676b49234af4"></a><br/></td></tr>
<tr class="memitem:a5ca5a9bcfeba5b1a1577202e79b494d8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a5ca5a9bcfeba5b1a1577202e79b494d8">texturedPolygon</a> (SDL_Surface *dst, const Sint16 *vx, const Sint16 *vy, int n, SDL_Surface *texture, int texture_dx, int texture_dy)</td></tr>
<tr class="memdesc:a5ca5a9bcfeba5b1a1577202e79b494d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a polygon filled with the given texture.  <a href="#a5ca5a9bcfeba5b1a1577202e79b494d8"></a><br/></td></tr>
<tr class="memitem:a0f5583d5b055f3e59a9692ca8a9dfbcf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a0f5583d5b055f3e59a9692ca8a9dfbcf">filledPolygonColorMT</a> (SDL_Surface *dst, const Sint16 *vx, const Sint16 *vy, int n, Uint32 color, int **polyInts, int *polyAllocated)</td></tr>
<tr class="memdesc:a0f5583d5b055f3e59a9692ca8a9dfbcf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw filled polygon with alpha blending (multi-threaded capable).  <a href="#a0f5583d5b055f3e59a9692ca8a9dfbcf"></a><br/></td></tr>
<tr class="memitem:a412cddc17a592c167c060ec2d1d2fd1d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a412cddc17a592c167c060ec2d1d2fd1d">filledPolygonRGBAMT</a> (SDL_Surface *dst, const Sint16 *vx, const Sint16 *vy, int n, Uint8 r, Uint8 g, Uint8 b, Uint8 a, int **polyInts, int *polyAllocated)</td></tr>
<tr class="memdesc:a412cddc17a592c167c060ec2d1d2fd1d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw filled polygon with alpha blending (multi-threaded capable).  <a href="#a412cddc17a592c167c060ec2d1d2fd1d"></a><br/></td></tr>
<tr class="memitem:a326937a19cfbebea09aa0a7c908d89aa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a326937a19cfbebea09aa0a7c908d89aa">texturedPolygonMT</a> (SDL_Surface *dst, const Sint16 *vx, const Sint16 *vy, int n, SDL_Surface *texture, int texture_dx, int texture_dy, int **polyInts, int *polyAllocated)</td></tr>
<tr class="memdesc:a326937a19cfbebea09aa0a7c908d89aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a polygon filled with the given texture (Multi-Threading Capable).  <a href="#a326937a19cfbebea09aa0a7c908d89aa"></a><br/></td></tr>
<tr class="memitem:ad82395ca72b749494ff89be78f168341"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#ad82395ca72b749494ff89be78f168341">bezierColor</a> (SDL_Surface *dst, const Sint16 *vx, const Sint16 *vy, int n, int s, Uint32 color)</td></tr>
<tr class="memdesc:ad82395ca72b749494ff89be78f168341"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw a bezier curve with alpha blending.  <a href="#ad82395ca72b749494ff89be78f168341"></a><br/></td></tr>
<tr class="memitem:a7203e3a463da499b5b0cadf211d19ff3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a7203e3a463da499b5b0cadf211d19ff3">bezierRGBA</a> (SDL_Surface *dst, const Sint16 *vx, const Sint16 *vy, int n, int s, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:a7203e3a463da499b5b0cadf211d19ff3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw a bezier curve with alpha blending.  <a href="#a7203e3a463da499b5b0cadf211d19ff3"></a><br/></td></tr>
<tr class="memitem:a7cabe806643c19159948639faaf26a38"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a7cabe806643c19159948639faaf26a38">gfxPrimitivesSetFont</a> (const void *fontdata, Uint32 cw, Uint32 ch)</td></tr>
<tr class="memdesc:a7cabe806643c19159948639faaf26a38"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets or resets the current global font data.  <a href="#a7cabe806643c19159948639faaf26a38"></a><br/></td></tr>
<tr class="memitem:a77cc480ba039c758d1cf0cd43db04bd6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a77cc480ba039c758d1cf0cd43db04bd6">gfxPrimitivesSetFontRotation</a> (Uint32 rotation)</td></tr>
<tr class="memdesc:a77cc480ba039c758d1cf0cd43db04bd6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets current global font character rotation steps.  <a href="#a77cc480ba039c758d1cf0cd43db04bd6"></a><br/></td></tr>
<tr class="memitem:af1991f2031346131db4ae8fd40492b08"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#af1991f2031346131db4ae8fd40492b08">characterColor</a> (SDL_Surface *dst, Sint16 x, Sint16 y, char c, Uint32 color)</td></tr>
<tr class="memdesc:af1991f2031346131db4ae8fd40492b08"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw a character of the currently set font.  <a href="#af1991f2031346131db4ae8fd40492b08"></a><br/></td></tr>
<tr class="memitem:a3f2f624c33ca753d22db52a8d9363fac"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a3f2f624c33ca753d22db52a8d9363fac">characterRGBA</a> (SDL_Surface *dst, Sint16 x, Sint16 y, char c, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:a3f2f624c33ca753d22db52a8d9363fac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw a character of the currently set font.  <a href="#a3f2f624c33ca753d22db52a8d9363fac"></a><br/></td></tr>
<tr class="memitem:a96b6a43c6ef4753996e33bb7fea483bc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a96b6a43c6ef4753996e33bb7fea483bc">stringColor</a> (SDL_Surface *dst, Sint16 x, Sint16 y, const char *s, Uint32 color)</td></tr>
<tr class="memdesc:a96b6a43c6ef4753996e33bb7fea483bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw a string in the currently set font.  <a href="#a96b6a43c6ef4753996e33bb7fea483bc"></a><br/></td></tr>
<tr class="memitem:a769833ae414222099783a9b69bed4009"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a769833ae414222099783a9b69bed4009">stringRGBA</a> (SDL_Surface *dst, Sint16 x, Sint16 y, const char *s, Uint8 r, Uint8 g, Uint8 b, Uint8 a)</td></tr>
<tr class="memdesc:a769833ae414222099783a9b69bed4009"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw a string in the currently set font.  <a href="#a769833ae414222099783a9b69bed4009"></a><br/></td></tr>
</table>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="ae71449b1cc6e6250b91f539153a7a0d3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="_s_d_l__rotozoom_8h.html#ae71449b1cc6e6250b91f539153a7a0d3">M_PI</a>&#160;&#160;&#160;3.1415926535897932384626433832795</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8h_source.html#l00035">35</a> of file <a class="el" href="_s_d_l__gfx_primitives_8h_source.html">SDL_gfxPrimitives.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2a585f5832061010155d87737ef5bf88"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="_s_d_l__gfx_primitives_8h.html#a2a585f5832061010155d87737ef5bf88">SDL_GFXPRIMITIVES_MAJOR</a>&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8h_source.html#l00047">47</a> of file <a class="el" href="_s_d_l__gfx_primitives_8h_source.html">SDL_gfxPrimitives.h</a>.</p>

</div>
</div>
<a class="anchor" id="a06ea681a295987b8b8ec3fcdb04713df"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="_s_d_l__gfx_primitives_8h.html#a06ea681a295987b8b8ec3fcdb04713df">SDL_GFXPRIMITIVES_MICRO</a>&#160;&#160;&#160;25</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8h_source.html#l00049">49</a> of file <a class="el" href="_s_d_l__gfx_primitives_8h_source.html">SDL_gfxPrimitives.h</a>.</p>

</div>
</div>
<a class="anchor" id="abd0939b1856bbb822b37b68755dc9ee5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="_s_d_l__gfx_primitives_8h.html#abd0939b1856bbb822b37b68755dc9ee5">SDL_GFXPRIMITIVES_MINOR</a>&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8h_source.html#l00048">48</a> of file <a class="el" href="_s_d_l__gfx_primitives_8h_source.html">SDL_gfxPrimitives.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9501419cbbd2b8739ec5dc4e890c165b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a>&#160;&#160;&#160;extern</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8h_source.html#l00064">64</a> of file <a class="el" href="_s_d_l__gfx_primitives_8h_source.html">SDL_gfxPrimitives.h</a>.</p>

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="aee66c744f9fbe58c9f93ad33375373c3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#aee66c744f9fbe58c9f93ad33375373c3">aacircleColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>rad</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw anti-aliased circle with blending. </p>
<p>Note: The AA-circle routine is based on AA-ellipse with identical radii.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x</td><td>X coordinate of the center of the aa-circle. </td></tr>
    <tr><td class="paramname">y</td><td>Y coordinate of the center of the aa-circle. </td></tr>
    <tr><td class="paramname">rad</td><td>Radius in pixels of the aa-circle. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the aa-circle to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l03512">3512</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a613099498679e6280959cdfdcd59a143"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a613099498679e6280959cdfdcd59a143">aacircleRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>rad</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw anti-aliased circle with blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x</td><td>X coordinate of the center of the aa-circle. </td></tr>
    <tr><td class="paramname">y</td><td>Y coordinate of the center of the aa-circle. </td></tr>
    <tr><td class="paramname">rad</td><td>Radius in pixels of the aa-circle. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the aa-circle to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the aa-circle to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the aa-circle to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the aa-circle to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l03531">3531</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a6edf60c54acc964cbb47ddefc6c0d450"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a6edf60c54acc964cbb47ddefc6c0d450">aaellipseColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>rx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>ry</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw anti-aliased ellipse with blending. </p>
<p>Note: Based on code from Anders Lindstroem, which is based on code from sge library, which is based on code from TwinLib.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x</td><td>X coordinate of the center of the aa-ellipse. </td></tr>
    <tr><td class="paramname">y</td><td>Y coordinate of the center of the aa-ellipse. </td></tr>
    <tr><td class="paramname">rx</td><td>Horizontal radius in pixels of the aa-ellipse. </td></tr>
    <tr><td class="paramname">ry</td><td>Vertical radius in pixels of the aa-ellipse. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the aa-ellipse to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l04088">4088</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="ab6db169d39ea972469e761f338153e21"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#ab6db169d39ea972469e761f338153e21">aaellipseRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>rx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>ry</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw anti-aliased ellipse with blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x</td><td>X coordinate of the center of the aa-ellipse. </td></tr>
    <tr><td class="paramname">y</td><td>Y coordinate of the center of the aa-ellipse. </td></tr>
    <tr><td class="paramname">rx</td><td>Horizontal radius in pixels of the aa-ellipse. </td></tr>
    <tr><td class="paramname">ry</td><td>Vertical radius in pixels of the aa-ellipse. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the aa-ellipse to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the aa-ellipse to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the aa-ellipse to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the aa-ellipse to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l04328">4328</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a4711ada424cb411e328fcedbf28ca5bd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a4711ada424cb411e328fcedbf28ca5bd">aalineColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Ddraw anti-aliased line with alpha blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x1</td><td>X coordinate of the first point of the aa-line. </td></tr>
    <tr><td class="paramname">y1</td><td>Y coordinate of the first point of the aa-line. </td></tr>
    <tr><td class="paramname">x2</td><td>X coordinate of the second point of the aa-line. </td></tr>
    <tr><td class="paramname">y2</td><td>Y coordinate of the second point of the aa-line. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the aa-line to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l02828">2828</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="aaf65728167a6aa7b37010560507fb4a2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#aaf65728167a6aa7b37010560507fb4a2">aalineRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw anti-aliased line with alpha blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x1</td><td>X coordinate of the first point of the aa-line. </td></tr>
    <tr><td class="paramname">y1</td><td>Y coordinate of the first point of the aa-line. </td></tr>
    <tr><td class="paramname">x2</td><td>X coordinate of the second point of the aa-line. </td></tr>
    <tr><td class="paramname">y2</td><td>Y coordinate of the second point of the aa-line. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the aa-line to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the aa-line to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the aa-line to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the aa-line to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l02848">2848</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="acee2be5e220639d3e5c5bc643e091c1c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#acee2be5e220639d3e5c5bc643e091c1c">aapolygonColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Sint16 *&#160;</td>
          <td class="paramname"><em>vx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Sint16 *&#160;</td>
          <td class="paramname"><em>vy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw anti-aliased polygon with alpha blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">vx</td><td>Vertex array containing X coordinates of the points of the aa-polygon. </td></tr>
    <tr><td class="paramname">vy</td><td>Vertex array containing Y coordinates of the points of the aa-polygon. </td></tr>
    <tr><td class="paramname">n</td><td>Number of points in the vertex array. Minimum number is 3. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the aa-polygon to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l05077">5077</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="aad73d6fc11bb01946d0ffe1c9d657cb1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#aad73d6fc11bb01946d0ffe1c9d657cb1">aapolygonRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Sint16 *&#160;</td>
          <td class="paramname"><em>vx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Sint16 *&#160;</td>
          <td class="paramname"><em>vy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw anti-aliased polygon with alpha blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">vx</td><td>Vertex array containing X coordinates of the points of the aa-polygon. </td></tr>
    <tr><td class="paramname">vy</td><td>Vertex array containing Y coordinates of the points of the aa-polygon. </td></tr>
    <tr><td class="paramname">n</td><td>Number of points in the vertex array. Minimum number is 3. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the aa-polygon to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the aa-polygon to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the aa-polygon to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the aa-polygon to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l05145">5145</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a330917705809bb5f7d74ef232dde5f12"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a330917705809bb5f7d74ef232dde5f12">aatrigonColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw anti-aliased trigon (triangle outline) with alpha blending. </p>
<p>Note: Creates vertex array and uses aapolygon routine to render.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x1</td><td>X coordinate of the first point of the aa-trigon. </td></tr>
    <tr><td class="paramname">y1</td><td>Y coordinate of the first point of the aa-trigon. </td></tr>
    <tr><td class="paramname">x2</td><td>X coordinate of the second point of the aa-trigon. </td></tr>
    <tr><td class="paramname">y2</td><td>Y coordinate of the second point of the aa-trigon. </td></tr>
    <tr><td class="paramname">x3</td><td>X coordinate of the third point of the aa-trigon. </td></tr>
    <tr><td class="paramname">y3</td><td>Y coordinate of the third point of the aa-trigon. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the aa-trigon to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l04859">4859</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a5e88106c90fc2e0e25d0f7617459d4f9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a5e88106c90fc2e0e25d0f7617459d4f9">aatrigonRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw anti-aliased trigon (triangle outline) with alpha blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x1</td><td>X coordinate of the first point of the aa-trigon. </td></tr>
    <tr><td class="paramname">y1</td><td>Y coordinate of the first point of the aa-trigon. </td></tr>
    <tr><td class="paramname">x2</td><td>X coordinate of the second point of the aa-trigon. </td></tr>
    <tr><td class="paramname">y2</td><td>Y coordinate of the second point of the aa-trigon. </td></tr>
    <tr><td class="paramname">x3</td><td>X coordinate of the third point of the aa-trigon. </td></tr>
    <tr><td class="paramname">y3</td><td>Y coordinate of the third point of the aa-trigon. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the aa-trigon to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the aa-trigon to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the aa-trigon to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the aa-trigon to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l04891">4891</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a6180558aff14d3c240d9e8bf919869ef"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a6180558aff14d3c240d9e8bf919869ef">arcColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>rad</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>end</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Arc with blending. </p>
<p>Note Arc drawing is based on circle algorithm by A. Schiffler and written by D. Raber. Calculates which octants arc goes through and renders pixels accordingly.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x</td><td>X coordinate of the center of the arc. </td></tr>
    <tr><td class="paramname">y</td><td>Y coordinate of the center of the arc. </td></tr>
    <tr><td class="paramname">rad</td><td>Radius in pixels of the arc. </td></tr>
    <tr><td class="paramname">start</td><td>Starting radius in degrees of the arc. 0 degrees is down, increasing counterclockwise. </td></tr>
    <tr><td class="paramname">end</td><td>Ending radius in degrees of the arc. 0 degrees is down, increasing counterclockwise. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the arc to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l03117">3117</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a5d8d25ecb69e9386289125eb21668a2f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a5d8d25ecb69e9386289125eb21668a2f">arcRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>rad</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>end</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Arc with blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x</td><td>X coordinate of the center of the arc. </td></tr>
    <tr><td class="paramname">y</td><td>Y coordinate of the center of the arc. </td></tr>
    <tr><td class="paramname">rad</td><td>Radius in pixels of the arc. </td></tr>
    <tr><td class="paramname">start</td><td>Starting radius in degrees of the arc. 0 degrees is down, increasing counterclockwise. </td></tr>
    <tr><td class="paramname">end</td><td>Ending radius in degrees of the arc. 0 degrees is down, increasing counterclockwise. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the arc to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the arc to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the arc to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the arc to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l03488">3488</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="ad82395ca72b749494ff89be78f168341"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#ad82395ca72b749494ff89be78f168341">bezierColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Sint16 *&#160;</td>
          <td class="paramname"><em>vx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Sint16 *&#160;</td>
          <td class="paramname"><em>vy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw a bezier curve with alpha blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">vx</td><td>Vertex array containing X coordinates of the points of the bezier curve. </td></tr>
    <tr><td class="paramname">vy</td><td>Vertex array containing Y coordinates of the points of the bezier curve. </td></tr>
    <tr><td class="paramname">n</td><td>Number of points in the vertex array. Minimum number is 3. </td></tr>
    <tr><td class="paramname">s</td><td>Number of steps for the interpolation. Minimum number is 2. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the bezier curve to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l06221">6221</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a7203e3a463da499b5b0cadf211d19ff3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a7203e3a463da499b5b0cadf211d19ff3">bezierRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Sint16 *&#160;</td>
          <td class="paramname"><em>vx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Sint16 *&#160;</td>
          <td class="paramname"><em>vy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw a bezier curve with alpha blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">vx</td><td>Vertex array containing X coordinates of the points of the bezier curve. </td></tr>
    <tr><td class="paramname">vy</td><td>Vertex array containing Y coordinates of the points of the bezier curve. </td></tr>
    <tr><td class="paramname">n</td><td>Number of points in the vertex array. Minimum number is 3. </td></tr>
    <tr><td class="paramname">s</td><td>Number of steps for the interpolation. Minimum number is 2. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the bezier curve to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the bezier curve to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the bezier curve to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the bezier curve to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l06296">6296</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a16693489da67d6e65a28f9e5217b46f9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a16693489da67d6e65a28f9e5217b46f9">boxColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw box (filled rectangle) with blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x1</td><td>X coordinate of the first point (i.e. top right) of the box. </td></tr>
    <tr><td class="paramname">y1</td><td>Y coordinate of the first point (i.e. top right) of the box. </td></tr>
    <tr><td class="paramname">x2</td><td>X coordinate of the second point (i.e. bottom left) of the box. </td></tr>
    <tr><td class="paramname">y2</td><td>Y coordinate of the second point (i.e. bottom left) of the box. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the box to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l02107">2107</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a0ae084c90bd9b734356ad723d45973c8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a0ae084c90bd9b734356ad723d45973c8">boxRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw box (filled rectangle) with blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x1</td><td>X coordinate of the first point (i.e. top right) of the box. </td></tr>
    <tr><td class="paramname">y1</td><td>Y coordinate of the first point (i.e. top right) of the box. </td></tr>
    <tr><td class="paramname">x2</td><td>X coordinate of the second point (i.e. bottom left) of the box. </td></tr>
    <tr><td class="paramname">y2</td><td>Y coordinate of the second point (i.e. bottom left) of the box. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the box to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the box to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the box to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the box to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l02319">2319</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="af1991f2031346131db4ae8fd40492b08"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#af1991f2031346131db4ae8fd40492b08">characterColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw a character of the currently set font. </p>
<p>On first call for a particular character and color combination, the function needs to generate the character surface (slower. Subsequent calls blit a cached surface (fast). Uses alpha blending if A&lt;255 in color.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x</td><td>X (horizontal) coordinate of the upper left corner of the character. </td></tr>
    <tr><td class="paramname">y</td><td>Y (vertical) coordinate of the upper left corner of the character. </td></tr>
    <tr><td class="paramname">c</td><td>The character to draw. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the character to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l05908">5908</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a3f2f624c33ca753d22db52a8d9363fac"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a3f2f624c33ca753d22db52a8d9363fac">characterRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw a character of the currently set font. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x</td><td>X (horizontal) coordinate of the upper left corner of the character. </td></tr>
    <tr><td class="paramname">y</td><td>Y (vertical) coordinate of the upper left corner of the character. </td></tr>
    <tr><td class="paramname">c</td><td>The character to draw. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the character to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the character to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the character to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the character to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l06077">6077</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a58d231ecaf113f53c2a28435e0632624"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a58d231ecaf113f53c2a28435e0632624">circleColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>rad</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw circle with blending. </p>
<p>Note: Circle drawing routine is based on an algorithms from the sge library, but modified by A. Schiffler for multiple pixel-draw removal and other minor speedup changes.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x</td><td>X coordinate of the center of the circle. </td></tr>
    <tr><td class="paramname">y</td><td>Y coordinate of the center of the circle. </td></tr>
    <tr><td class="paramname">rad</td><td>Radius in pixels of the circle. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the circle to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l02872">2872</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a8e0945b74c02cdb1441e1b2a29d2c87d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a8e0945b74c02cdb1441e1b2a29d2c87d">circleRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>rad</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw circle with blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x</td><td>X coordinate of the center of the circle. </td></tr>
    <tr><td class="paramname">y</td><td>Y coordinate of the center of the circle. </td></tr>
    <tr><td class="paramname">rad</td><td>Radius in pixels of the circle. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the circle to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the circle to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the circle to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the circle to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l03090">3090</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a8b46f389c626806e7a1ec148f0980737"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a8b46f389c626806e7a1ec148f0980737">ellipseColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>rx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>ry</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw ellipse with blending. </p>
<p>Note: Based on algorithms from sge library with modifications by A. Schiffler for multiple-pixel draw removal and other minor speedup changes.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x</td><td>X coordinate of the center of the ellipse. </td></tr>
    <tr><td class="paramname">y</td><td>Y coordinate of the center of the ellipse. </td></tr>
    <tr><td class="paramname">rx</td><td>Horizontal radius in pixels of the ellipse. </td></tr>
    <tr><td class="paramname">ry</td><td>Vertical radius in pixels of the ellipse. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the ellipse to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l03709">3709</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a523156891302420d2296b1a302c1fc2b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a523156891302420d2296b1a302c1fc2b">ellipseRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>rx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>ry</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw ellipse with blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x</td><td>X coordinate of the center of the ellipse. </td></tr>
    <tr><td class="paramname">y</td><td>Y coordinate of the center of the ellipse. </td></tr>
    <tr><td class="paramname">rx</td><td>Horizontal radius in pixels of the ellipse. </td></tr>
    <tr><td class="paramname">ry</td><td>Vertical radius in pixels of the ellipse. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the ellipse to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the ellipse to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the ellipse to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the ellipse to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l04023">4023</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a4f7b717b958ef39bfc8c958476dd0de1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a4f7b717b958ef39bfc8c958476dd0de1">filledCircleColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>rad</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw filled circle with blending. </p>
<p>Note: Based on algorithms from sge library with modifications by A. Schiffler for multiple-hline draw removal and other minor speedup changes.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x</td><td>X coordinate of the center of the filled circle. </td></tr>
    <tr><td class="paramname">y</td><td>Y coordinate of the center of the filled circle. </td></tr>
    <tr><td class="paramname">rad</td><td>Radius in pixels of the filled circle. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the filled circle to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l03556">3556</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a01af970ce0be38cea9884bc6f816c984"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a01af970ce0be38cea9884bc6f816c984">filledCircleRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>rad</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw filled circle with blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x</td><td>X coordinate of the center of the filled circle. </td></tr>
    <tr><td class="paramname">y</td><td>Y coordinate of the center of the filled circle. </td></tr>
    <tr><td class="paramname">rad</td><td>Radius in pixels of the filled circle. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the filled circle to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the filled circle to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the filled circle to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the filled circle to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l03683">3683</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a36e83e5648b95d38d1efe98dcf840fab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a36e83e5648b95d38d1efe98dcf840fab">filledEllipseColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>rx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>ry</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw filled ellipse with blending. </p>
<p>Note: Based on algorithm from sge library with multiple-hline draw removal and other speedup changes.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x</td><td>X coordinate of the center of the filled ellipse. </td></tr>
    <tr><td class="paramname">y</td><td>Y coordinate of the center of the filled ellipse. </td></tr>
    <tr><td class="paramname">rx</td><td>Horizontal radius in pixels of the filled ellipse. </td></tr>
    <tr><td class="paramname">ry</td><td>Vertical radius in pixels of the filled ellipse. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the filled ellipse to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l04358">4358</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a26f01b9c0cf7a533023869dff439254f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a26f01b9c0cf7a533023869dff439254f">filledEllipseRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>rx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>ry</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw filled ellipse with blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x</td><td>X coordinate of the center of the filled ellipse. </td></tr>
    <tr><td class="paramname">y</td><td>Y coordinate of the center of the filled ellipse. </td></tr>
    <tr><td class="paramname">rx</td><td>Horizontal radius in pixels of the filled ellipse. </td></tr>
    <tr><td class="paramname">ry</td><td>Vertical radius in pixels of the filled ellipse. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the filled ellipse to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the filled ellipse to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the filled ellipse to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the filled ellipse to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l04526">4526</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a8f18679aa7161f885613ec08e7f41692"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a8f18679aa7161f885613ec08e7f41692">filledPieColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>rad</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>end</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw filled pie with alpha blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x</td><td>X coordinate of the center of the filled pie. </td></tr>
    <tr><td class="paramname">y</td><td>Y coordinate of the center of the filled pie. </td></tr>
    <tr><td class="paramname">rad</td><td>Radius in pixels of the filled pie. </td></tr>
    <tr><td class="paramname">start</td><td>Starting radius in degrees of the filled pie. </td></tr>
    <tr><td class="paramname">end</td><td>Ending radius in degrees of the filled pie. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the filled pie to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l04747">4747</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a1944c066d27fa9847a5fdecd1d3b9116"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a1944c066d27fa9847a5fdecd1d3b9116">filledPieRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>rad</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>end</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw filled pie with alpha blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x</td><td>X coordinate of the center of the filled pie. </td></tr>
    <tr><td class="paramname">y</td><td>Y coordinate of the center of the filled pie. </td></tr>
    <tr><td class="paramname">rad</td><td>Radius in pixels of the filled pie. </td></tr>
    <tr><td class="paramname">start</td><td>Starting radius in degrees of the filled pie. </td></tr>
    <tr><td class="paramname">end</td><td>Ending radius in degrees of the filled pie. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the filled pie to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the filled pie to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the filled pie to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the filled pie to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l04768">4768</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a5e1fe45b835b623f6939ff0f08277531"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a5e1fe45b835b623f6939ff0f08277531">filledPolygonColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Sint16 *&#160;</td>
          <td class="paramname"><em>vx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Sint16 *&#160;</td>
          <td class="paramname"><em>vy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw filled polygon with alpha blending. </p>
<p>Note: Standard filledPolygon function is calling multithreaded version with NULL parameters to use the global vertex cache.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">vx</td><td>Vertex array containing X coordinates of the points of the filled polygon. </td></tr>
    <tr><td class="paramname">vy</td><td>Vertex array containing Y coordinates of the points of the filled polygon. </td></tr>
    <tr><td class="paramname">n</td><td>Number of points in the vertex array. Minimum number is 3. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the filled polygon to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l05394">5394</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a0f5583d5b055f3e59a9692ca8a9dfbcf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a0f5583d5b055f3e59a9692ca8a9dfbcf">filledPolygonColorMT</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Sint16 *&#160;</td>
          <td class="paramname"><em>vx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Sint16 *&#160;</td>
          <td class="paramname"><em>vy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int **&#160;</td>
          <td class="paramname"><em>polyInts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>polyAllocated</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw filled polygon with alpha blending (multi-threaded capable). </p>
<p>Note: The last two parameters are optional; but are required for multithreaded operation.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">vx</td><td>Vertex array containing X coordinates of the points of the filled polygon. </td></tr>
    <tr><td class="paramname">vy</td><td>Vertex array containing Y coordinates of the points of the filled polygon. </td></tr>
    <tr><td class="paramname">n</td><td>Number of points in the vertex array. Minimum number is 3. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the filled polygon to draw (0xRRGGBBAA). </td></tr>
    <tr><td class="paramname">polyInts</td><td>Preallocated, temporary vertex array used for sorting vertices. Required for multithreaded operation; set to NULL otherwise. </td></tr>
    <tr><td class="paramname">polyAllocated</td><td>Flag indicating if temporary vertex array was allocated. Required for multithreaded operation; set to NULL otherwise.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l05197">5197</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a2b1023ddbbb25d57bd51676b49234af4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a2b1023ddbbb25d57bd51676b49234af4">filledPolygonRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Sint16 *&#160;</td>
          <td class="paramname"><em>vx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Sint16 *&#160;</td>
          <td class="paramname"><em>vy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw filled polygon with alpha blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">vx</td><td>Vertex array containing X coordinates of the points of the filled polygon. </td></tr>
    <tr><td class="paramname">vy</td><td>Vertex array containing Y coordinates of the points of the filled polygon. </td></tr>
    <tr><td class="paramname">n</td><td>Number of points in the vertex array. Minimum number is 3. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the filled polygon to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the filled polygon to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the filed polygon to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the filled polygon to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l05416">5416</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a412cddc17a592c167c060ec2d1d2fd1d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a412cddc17a592c167c060ec2d1d2fd1d">filledPolygonRGBAMT</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Sint16 *&#160;</td>
          <td class="paramname"><em>vx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Sint16 *&#160;</td>
          <td class="paramname"><em>vy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int **&#160;</td>
          <td class="paramname"><em>polyInts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>polyAllocated</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw filled polygon with alpha blending (multi-threaded capable). </p>
<p>Note: The last two parameters are optional; but are required for multithreaded operation.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">vx</td><td>Vertex array containing X coordinates of the points of the filled polygon. </td></tr>
    <tr><td class="paramname">vy</td><td>Vertex array containing Y coordinates of the points of the filled polygon. </td></tr>
    <tr><td class="paramname">n</td><td>Number of points in the vertex array. Minimum number is 3. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the filled polygon to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the filled polygon to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the filed polygon to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the filled polygon to draw. </td></tr>
    <tr><td class="paramname">polyInts</td><td>Preallocated, temporary vertex array used for sorting vertices. Required for multithreaded operation; set to NULL otherwise. </td></tr>
    <tr><td class="paramname">polyAllocated</td><td>Flag indicating if temporary vertex array was allocated. Required for multithreaded operation; set to NULL otherwise.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l05372">5372</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a6adaf54b33bf067e4fe2cc5a7ae17ef6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a6adaf54b33bf067e4fe2cc5a7ae17ef6">filledTrigonColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw filled trigon (triangle) with alpha blending. </p>
<p>Note: Creates vertex array and uses aapolygon routine to render.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x1</td><td>X coordinate of the first point of the filled trigon. </td></tr>
    <tr><td class="paramname">y1</td><td>Y coordinate of the first point of the filled trigon. </td></tr>
    <tr><td class="paramname">x2</td><td>X coordinate of the second point of the filled trigon. </td></tr>
    <tr><td class="paramname">y2</td><td>Y coordinate of the second point of the filled trigon. </td></tr>
    <tr><td class="paramname">x3</td><td>X coordinate of the third point of the filled trigon. </td></tr>
    <tr><td class="paramname">y3</td><td>Y coordinate of the third point of the filled trigon. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the filled trigon to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l04925">4925</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a4a3318a183659aab7c12c0334e261837"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a4a3318a183659aab7c12c0334e261837">filledTrigonRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw filled trigon (triangle) with alpha blending. </p>
<p>Note: Creates vertex array and uses aapolygon routine to render.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x1</td><td>X coordinate of the first point of the filled trigon. </td></tr>
    <tr><td class="paramname">y1</td><td>Y coordinate of the first point of the filled trigon. </td></tr>
    <tr><td class="paramname">x2</td><td>X coordinate of the second point of the filled trigon. </td></tr>
    <tr><td class="paramname">y2</td><td>Y coordinate of the second point of the filled trigon. </td></tr>
    <tr><td class="paramname">x3</td><td>X coordinate of the third point of the filled trigon. </td></tr>
    <tr><td class="paramname">y3</td><td>Y coordinate of the third point of the filled trigon. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the filled trigon to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the filled trigon to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the filled trigon to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the filled trigon to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l04959">4959</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a7cabe806643c19159948639faaf26a38"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> void <a class="el" href="_s_d_l__gfx_primitives_8h.html#a7cabe806643c19159948639faaf26a38">gfxPrimitivesSetFont</a> </td>
          <td>(</td>
          <td class="paramtype">const void *&#160;</td>
          <td class="paramname"><em>fontdata</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>cw</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>ch</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets or resets the current global font data. </p>
<p>The font data array is organized in follows: [fontdata] = [character 0][character 1]...[character 255] where [character n] = [byte 1 row 1][byte 2 row 1]...[byte {pitch} row 1][byte 1 row 2] ...[byte {pitch} row height] where [byte n] = [bit 0]...[bit 7] where [bit n] = [0 for transparent pixel|1 for colored pixel]</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">fontdata</td><td>Pointer to array of font data. Set to NULL, to reset global font to the default 8x8 font. </td></tr>
    <tr><td class="paramname">cw</td><td>Width of character in bytes. Ignored if fontdata==NULL. </td></tr>
    <tr><td class="paramname">ch</td><td>Height of character in bytes. Ignored if fontdata==NULL. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l05815">5815</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a77cc480ba039c758d1cf0cd43db04bd6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> void <a class="el" href="_s_d_l__gfx_primitives_8h.html#a77cc480ba039c758d1cf0cd43db04bd6">gfxPrimitivesSetFontRotation</a> </td>
          <td>(</td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>rotation</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets current global font character rotation steps. </p>
<p>Default is 0 (no rotation). 1 = 90deg clockwise. 2 = 180deg clockwise. 3 = 270deg clockwise. Changing the rotation, will reset the character cache.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">rotation</td><td>Number of 90deg clockwise steps to rotate </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l05861">5861</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a31ac87bf32186325deedf5188b987ef6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a31ac87bf32186325deedf5188b987ef6">hlineColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw horizontal line with blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x1</td><td>X coordinate of the first point (i.e. left) of the line. </td></tr>
    <tr><td class="paramname">x2</td><td>X coordinate of the second point (i.e. right) of the line. </td></tr>
    <tr><td class="paramname">y</td><td>Y coordinate of the points of the line. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the line to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l01204">1204</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="ae48e69e0f5d13ea79ffac262b146ae9e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#ae48e69e0f5d13ea79ffac262b146ae9e">hlineRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw horizontal line with blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x1</td><td>X coordinate of the first point (i.e. left) of the line. </td></tr>
    <tr><td class="paramname">x2</td><td>X coordinate of the second point (i.e. right) of the line. </td></tr>
    <tr><td class="paramname">y</td><td>Y coordinate of the points of the line. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the line to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the line to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the line to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the line to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l01373">1373</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a6f37058aed308619de8109ebe84b5fe9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a6f37058aed308619de8109ebe84b5fe9">lineColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw line with alpha blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x1</td><td>X coordinate of the first point of the line. </td></tr>
    <tr><td class="paramname">y1</td><td>Y coordinate of the first point of the line. </td></tr>
    <tr><td class="paramname">x2</td><td>X coordinate of the second point of the line. </td></tr>
    <tr><td class="paramname">y2</td><td>Y coordinate of the second point of the line. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the line to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l02347">2347</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a5e4bd13b12d34698fbcb2dc9d3a0e9f3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a5e4bd13b12d34698fbcb2dc9d3a0e9f3">lineRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw line with alpha blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x1</td><td>X coordinate of the first point of the line. </td></tr>
    <tr><td class="paramname">y1</td><td>Y coordinate of the first point of the line. </td></tr>
    <tr><td class="paramname">x2</td><td>X coordinate of the second point of the line. </td></tr>
    <tr><td class="paramname">y2</td><td>Y coordinate of the second point of the line. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the line to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the line to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the line to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the line to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l02556">2556</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a6476d5dad22631d10c1dc95b0e88fc65"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a6476d5dad22631d10c1dc95b0e88fc65">pieColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>rad</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>end</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw pie (outline) with alpha blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x</td><td>X coordinate of the center of the pie. </td></tr>
    <tr><td class="paramname">y</td><td>Y coordinate of the center of the pie. </td></tr>
    <tr><td class="paramname">rad</td><td>Radius in pixels of the pie. </td></tr>
    <tr><td class="paramname">start</td><td>Starting radius in degrees of the pie. </td></tr>
    <tr><td class="paramname">end</td><td>Ending radius in degrees of the pie. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the pie to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l04703">4703</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a4a5e4344913667e714560dd204473663"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a4a5e4344913667e714560dd204473663">pieRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>rad</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>end</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw pie (outline) with alpha blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x</td><td>X coordinate of the center of the pie. </td></tr>
    <tr><td class="paramname">y</td><td>Y coordinate of the center of the pie. </td></tr>
    <tr><td class="paramname">rad</td><td>Radius in pixels of the pie. </td></tr>
    <tr><td class="paramname">start</td><td>Starting radius in degrees of the pie. </td></tr>
    <tr><td class="paramname">end</td><td>Ending radius in degrees of the pie. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the pie to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the pie to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the pie to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the pie to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l04726">4726</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a7fe611dbb029ae70be89d5314c7e023b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a7fe611dbb029ae70be89d5314c7e023b">pixelColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Pixel draw with blending enabled if a&lt;255. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x</td><td>X (horizontal) coordinate of the pixel. </td></tr>
    <tr><td class="paramname">y</td><td>Y (vertical) coordinate of the pixel. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the pixel to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l00509">509</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a0046efc721e77b745fd5b621fbd48513"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a0046efc721e77b745fd5b621fbd48513">pixelRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Pixel draw with blending enabled if a&lt;255. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x</td><td>X (horizontal) coordinate of the pixel. </td></tr>
    <tr><td class="paramname">y</td><td>Y (vertical) coordinate of the pixel. </td></tr>
    <tr><td class="paramname">r</td><td>The red color value of the pixel to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green color value of the pixel to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue color value of the pixel to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the pixel to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l00995">995</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="abe5d0b2f6193558798eaff3e85e7a1af"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#abe5d0b2f6193558798eaff3e85e7a1af">polygonColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Sint16 *&#160;</td>
          <td class="paramname"><em>vx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Sint16 *&#160;</td>
          <td class="paramname"><em>vy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw polygon with alpha blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">vx</td><td>Vertex array containing X coordinates of the points of the polygon. </td></tr>
    <tr><td class="paramname">vy</td><td>Vertex array containing Y coordinates of the points of the polygon. </td></tr>
    <tr><td class="paramname">n</td><td>Number of points in the vertex array. Minimum number is 3. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the polygon to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l04988">4988</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a46b327da5cba5d401cf400bdef7560d0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a46b327da5cba5d401cf400bdef7560d0">polygonRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Sint16 *&#160;</td>
          <td class="paramname"><em>vx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Sint16 *&#160;</td>
          <td class="paramname"><em>vy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw polygon with alpha blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">vx</td><td>Vertex array containing X coordinates of the points of the polygon. </td></tr>
    <tr><td class="paramname">vy</td><td>Vertex array containing Y coordinates of the points of the polygon. </td></tr>
    <tr><td class="paramname">n</td><td>Number of points in the vertex array. Minimum number is 3. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the polygon to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the polygon to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the polygon to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the polygon to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l05056">5056</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a36453f52608a10f3d6b8edccae260b95"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a36453f52608a10f3d6b8edccae260b95">rectangleColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw rectangle with blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x1</td><td>X coordinate of the first point (i.e. top right) of the rectangle. </td></tr>
    <tr><td class="paramname">y1</td><td>Y coordinate of the first point (i.e. top right) of the rectangle. </td></tr>
    <tr><td class="paramname">x2</td><td>X coordinate of the second point (i.e. bottom left) of the rectangle. </td></tr>
    <tr><td class="paramname">y2</td><td>Y coordinate of the second point (i.e. bottom left) of the rectangle. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the rectangle to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l01580">1580</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a6c41cbfd0618262de4d4d127ed1e67fe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a6c41cbfd0618262de4d4d127ed1e67fe">rectangleRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw rectangle with blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x1</td><td>X coordinate of the first point (i.e. top right) of the rectangle. </td></tr>
    <tr><td class="paramname">y1</td><td>Y coordinate of the first point (i.e. top right) of the rectangle. </td></tr>
    <tr><td class="paramname">x2</td><td>X coordinate of the second point (i.e. bottom left) of the rectangle. </td></tr>
    <tr><td class="paramname">y2</td><td>Y coordinate of the second point (i.e. bottom left) of the rectangle. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the rectangle to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the rectangle to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the rectangle to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the rectangle to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l01663">1663</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a9f9be6e605e764fd23dd154fb12b80e9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a9f9be6e605e764fd23dd154fb12b80e9">roundedBoxColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>rad</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw rounded-corner box (filled rectangle) with blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x1</td><td>X coordinate of the first point (i.e. top right) of the box. </td></tr>
    <tr><td class="paramname">y1</td><td>Y coordinate of the first point (i.e. top right) of the box. </td></tr>
    <tr><td class="paramname">x2</td><td>X coordinate of the second point (i.e. bottom left) of the box. </td></tr>
    <tr><td class="paramname">y2</td><td>Y coordinate of the second point (i.e. bottom left) of the box. </td></tr>
    <tr><td class="paramname">rad</td><td>The radius of the corner arcs of the box. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the box to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l01837">1837</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a7105b88e62fe42b26602d3b426547bc7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a7105b88e62fe42b26602d3b426547bc7">roundedBoxRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>rad</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw rounded-corner box (filled rectangle) with blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x1</td><td>X coordinate of the first point (i.e. top right) of the box. </td></tr>
    <tr><td class="paramname">y1</td><td>Y coordinate of the first point (i.e. top right) of the box. </td></tr>
    <tr><td class="paramname">x2</td><td>X coordinate of the second point (i.e. bottom left) of the box. </td></tr>
    <tr><td class="paramname">y2</td><td>Y coordinate of the second point (i.e. bottom left) of the box. </td></tr>
    <tr><td class="paramname">rad</td><td>The radius of the corner arcs of the box. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the box to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the box to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the box to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the box to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l01970">1970</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a4109d2d1efa021c021fc4a98a0e3691b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a4109d2d1efa021c021fc4a98a0e3691b">roundedRectangleColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>rad</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw rounded-corner rectangle with blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x1</td><td>X coordinate of the first point (i.e. top right) of the rectangle. </td></tr>
    <tr><td class="paramname">y1</td><td>Y coordinate of the first point (i.e. top right) of the rectangle. </td></tr>
    <tr><td class="paramname">x2</td><td>X coordinate of the second point (i.e. bottom left) of the rectangle. </td></tr>
    <tr><td class="paramname">y2</td><td>Y coordinate of the second point (i.e. bottom left) of the rectangle. </td></tr>
    <tr><td class="paramname">rad</td><td>The radius of the corner arc. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the rectangle to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l01685">1685</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a475432abc4756e6f30ef097d5cac02c9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a475432abc4756e6f30ef097d5cac02c9">roundedRectangleRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>rad</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw rounded-corner rectangle with blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x1</td><td>X coordinate of the first point (i.e. top right) of the rectangle. </td></tr>
    <tr><td class="paramname">y1</td><td>Y coordinate of the first point (i.e. top right) of the rectangle. </td></tr>
    <tr><td class="paramname">x2</td><td>X coordinate of the second point (i.e. bottom left) of the rectangle. </td></tr>
    <tr><td class="paramname">y2</td><td>Y coordinate of the second point (i.e. bottom left) of the rectangle. </td></tr>
    <tr><td class="paramname">rad</td><td>The radius of the corner arc. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the rectangle to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the rectangle to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the rectangle to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the rectangle to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l01815">1815</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a96b6a43c6ef4753996e33bb7fea483bc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a96b6a43c6ef4753996e33bb7fea483bc">stringColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw a string in the currently set font. </p>
<p>The spacing between consequtive characters in the string is the fixed number of pixels of the character width of the current global font.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x</td><td>X (horizontal) coordinate of the upper left corner of the string. </td></tr>
    <tr><td class="paramname">y</td><td>Y (vertical) coordinate of the upper left corner of the string. </td></tr>
    <tr><td class="paramname">s</td><td>The string to draw. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the string to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l06099">6099</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a769833ae414222099783a9b69bed4009"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a769833ae414222099783a9b69bed4009">stringRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw a string in the currently set font. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x</td><td>X (horizontal) coordinate of the upper left corner of the string. </td></tr>
    <tr><td class="paramname">y</td><td>Y (vertical) coordinate of the upper left corner of the string. </td></tr>
    <tr><td class="paramname">s</td><td>The string to draw. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the string to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the string to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the string to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the string to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l06143">6143</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a5ca5a9bcfeba5b1a1577202e79b494d8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a5ca5a9bcfeba5b1a1577202e79b494d8">texturedPolygon</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Sint16 *&#160;</td>
          <td class="paramname"><em>vx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Sint16 *&#160;</td>
          <td class="paramname"><em>vy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>texture_dx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>texture_dy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a polygon filled with the given texture. </p>
<p>This standard version is calling multithreaded versions with NULL cache parameters.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>the destination surface, </td></tr>
    <tr><td class="paramname">vx</td><td>array of x vector components </td></tr>
    <tr><td class="paramname">vy</td><td>array of x vector components </td></tr>
    <tr><td class="paramname">n</td><td>the amount of vectors in the vx and vy array </td></tr>
    <tr><td class="paramname">texture</td><td>the sdl surface to use to fill the polygon </td></tr>
    <tr><td class="paramname">texture_dx</td><td>the offset of the texture relative to the screeen. if you move the polygon 10 pixels to the left and want the texture to apear the same you need to increase the texture_dx value </td></tr>
    <tr><td class="paramname">texture_dy</td><td>see texture_dx</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l05741">5741</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a326937a19cfbebea09aa0a7c908d89aa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a326937a19cfbebea09aa0a7c908d89aa">texturedPolygonMT</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Sint16 *&#160;</td>
          <td class="paramname"><em>vx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Sint16 *&#160;</td>
          <td class="paramname"><em>vy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>texture_dx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>texture_dy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int **&#160;</td>
          <td class="paramname"><em>polyInts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>polyAllocated</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a polygon filled with the given texture (Multi-Threading Capable). </p>
<p>This operation use internally SDL_BlitSurface for lines of the source texture. It supports alpha drawing.</p>
<p>To get the best performance of this operation you need to make sure the texture and the dst surface have the same format (see <a href="http://docs.mandragor.org/files/Common_libs_documentation/SDL/SDL_Documentation_project_en/sdlblitsurface.html">http://docs.mandragor.org/files/Common_libs_documentation/SDL/SDL_Documentation_project_en/sdlblitsurface.html</a>). The last two parameters are optional, but required for multithreaded operation. When set to NULL, uses global static temp array.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>the destination surface, </td></tr>
    <tr><td class="paramname">vx</td><td>array of x vector components </td></tr>
    <tr><td class="paramname">vy</td><td>array of x vector components </td></tr>
    <tr><td class="paramname">n</td><td>the amount of vectors in the vx and vy array </td></tr>
    <tr><td class="paramname">texture</td><td>the sdl surface to use to fill the polygon </td></tr>
    <tr><td class="paramname">texture_dx</td><td>the offset of the texture relative to the screeen. if you move the polygon 10 pixels to the left and want the texture to apear the same you need to increase the texture_dx value </td></tr>
    <tr><td class="paramname">texture_dy</td><td>see texture_dx </td></tr>
    <tr><td class="paramname">polyInts</td><td>preallocated temp array storage for vertex sorting (used for multi-threaded operation) </td></tr>
    <tr><td class="paramname">polyAllocated</td><td>flag indicating oif the temp array was allocated (used for multi-threaded operation)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l05574">5574</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a40c34464b6c99fd72c4bd7acfac5915d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a40c34464b6c99fd72c4bd7acfac5915d">thickLineColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw a thick line with alpha blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x1</td><td>X coordinate of the first point of the line. </td></tr>
    <tr><td class="paramname">y1</td><td>Y coordinate of the first point of the line. </td></tr>
    <tr><td class="paramname">x2</td><td>X coordinate of the second point of the line. </td></tr>
    <tr><td class="paramname">y2</td><td>Y coordinate of the second point of the line. </td></tr>
    <tr><td class="paramname">width</td><td>Width of the line in pixels. Must be &gt;0. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the line to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l06808">6808</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="aa740c1eff9163862704eb3bb3b5964db"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#aa740c1eff9163862704eb3bb3b5964db">thickLineRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw a thick line with alpha blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x1</td><td>X coordinate of the first point of the line. </td></tr>
    <tr><td class="paramname">y1</td><td>Y coordinate of the first point of the line. </td></tr>
    <tr><td class="paramname">x2</td><td>X coordinate of the second point of the line. </td></tr>
    <tr><td class="paramname">y2</td><td>Y coordinate of the second point of the line. </td></tr>
    <tr><td class="paramname">width</td><td>Width of the line in pixels. Must be &gt;0. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the character to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the character to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the character to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the character to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l06847">6847</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="aec2a0c435b879a29167be6b1c49f1e49"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#aec2a0c435b879a29167be6b1c49f1e49">trigonColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw trigon (triangle outline) with alpha blending. </p>
<p>Note: Creates vertex array and uses polygon routine to render.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x1</td><td>X coordinate of the first point of the trigon. </td></tr>
    <tr><td class="paramname">y1</td><td>Y coordinate of the first point of the trigon. </td></tr>
    <tr><td class="paramname">x2</td><td>X coordinate of the second point of the trigon. </td></tr>
    <tr><td class="paramname">y2</td><td>Y coordinate of the second point of the trigon. </td></tr>
    <tr><td class="paramname">x3</td><td>X coordinate of the third point of the trigon. </td></tr>
    <tr><td class="paramname">y3</td><td>Y coordinate of the third point of the trigon. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the trigon to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l04793">4793</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a090024f5f3e38b02b0bca704259b9d11"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a090024f5f3e38b02b0bca704259b9d11">trigonRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw trigon (triangle outline) with alpha blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x1</td><td>X coordinate of the first point of the trigon. </td></tr>
    <tr><td class="paramname">y1</td><td>Y coordinate of the first point of the trigon. </td></tr>
    <tr><td class="paramname">x2</td><td>X coordinate of the second point of the trigon. </td></tr>
    <tr><td class="paramname">y2</td><td>Y coordinate of the second point of the trigon. </td></tr>
    <tr><td class="paramname">x3</td><td>X coordinate of the third point of the trigon. </td></tr>
    <tr><td class="paramname">y3</td><td>Y coordinate of the third point of the trigon. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the trigon to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the trigon to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the trigon to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the trigon to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l04825">4825</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="ab68d565f00527a67c9d88121c753302c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#ab68d565f00527a67c9d88121c753302c">vlineColor</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint32&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw vertical line with blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x</td><td>X coordinate of the points of the line. </td></tr>
    <tr><td class="paramname">y1</td><td>Y coordinate of the first point (i.e. top) of the line. </td></tr>
    <tr><td class="paramname">y2</td><td>Y coordinate of the second point (i.e. bottom) of the line. </td></tr>
    <tr><td class="paramname">color</td><td>The color value of the line to draw (0xRRGGBBAA).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l01392">1392</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
<a class="anchor" id="a68ed9a65e3e0de26136566b0cf0c859e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_s_d_l__gfx_primitives_8h.html#a9501419cbbd2b8739ec5dc4e890c165b">SDL_GFXPRIMITIVES_SCOPE</a> int <a class="el" href="_s_d_l__gfx_primitives_8h.html#a68ed9a65e3e0de26136566b0cf0c859e">vlineRGBA</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Sint16&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw vertical line with blending. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>The surface to draw on. </td></tr>
    <tr><td class="paramname">x</td><td>X coordinate of the points of the line. </td></tr>
    <tr><td class="paramname">y1</td><td>Y coordinate of the first point (i.e. top) of the line. </td></tr>
    <tr><td class="paramname">y2</td><td>Y coordinate of the second point (i.e. bottom) of the line. </td></tr>
    <tr><td class="paramname">r</td><td>The red value of the line to draw. </td></tr>
    <tr><td class="paramname">g</td><td>The green value of the line to draw. </td></tr>
    <tr><td class="paramname">b</td><td>The blue value of the line to draw. </td></tr>
    <tr><td class="paramname">a</td><td>The alpha value of the line to draw.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Returns 0 on success, -1 on failure. </dd></dl>

<p>Definition at line <a class="el" href="_s_d_l__gfx_primitives_8c_source.html#l01560">1560</a> of file <a class="el" href="_s_d_l__gfx_primitives_8c_source.html">SDL_gfxPrimitives.c</a>.</p>

</div>
</div>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.0
</small></address>

</body>
</html>
